package com.dayuanit.dy16.ebook.ebookweb.entity;

import java.util.Date;

public class Cart {
    public Cart() {
        System.out.println(">>>>>>>>>>>>>Cart()");
    }
    private Long id;

    private Long userId;

    private Long commoId;

    private Integer buyNum;

    private Integer status;

    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCommoId() {
        return commoId;
    }

    public void setCommoId(Long commoId) {
        this.commoId = commoId;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}